package com.oa.bean.work;

import java.util.Date;

//值班管理表
public class Duty {
	private int did;// 值班管理员编号
	private int eid;// 员工编号
	private Date ddatetime;// 值班时间
	private String drange;// 值班范围
	private String descs;// 情况记录

	private Emp emps;// 同个时间多个员工值班

	public Duty() {
	}

	public Duty(int did, int eid, Date ddatetime, String drange, String descs) {
		super();
		this.did = did;
		this.eid = eid;
		this.ddatetime = ddatetime;
		this.drange = drange;
		this.descs = descs;
	}

	public Emp getEmps() {
		return emps;
	}

	public void setEmps(Emp emps) {
		this.emps = emps;
	}

	public int getDid() {
		return did;
	}

	public void setDid(int did) {
		this.did = did;
	}

	public int getEid() {
		return eid;
	}

	public void setEid(int eid) {
		this.eid = eid;
	}

	public Date getDdatetime() {
		return ddatetime;
	}

	public void setDdatetime(Date ddatetime) {
		this.ddatetime = ddatetime;
	}

	public String getDrange() {
		return drange;
	}

	public void setDrange(String drange) {
		this.drange = drange;
	}

	public String getDescs() {
		return descs;
	}

	public void setDescs(String descs) {
		this.descs = descs;
	}

	@Override
	public String toString() {
		return "Duty [did=" + did + ", eid=" + eid + ", ddatetime=" + ddatetime + ", drange=" + drange + ", descs="
				+ descs + "]";
	}

}
